﻿using BellAssistant.WebAPI.Common;
using BellAssistant.WebAPI.Context;
using System.Web.Mvc;

namespace BellAssistant.WebAPI.Controllers
{
    public class HomeController : Controller
    {
        // GET: Home
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult CheckAllSchema()
        {
            try
            {
                BellDataContext.GetInstance();
                ViewData["Flg"] = "更新成功!";
                return View();
            }
            catch (System.Exception ex)
            {
                throw ex;
            }
        }
    }
}